package com.mq;

import java.io.Serializable;

/**
 * @author ytj
 * @date 2024/1/18
 */
public class Demo10Message implements Serializable {
    public static final String QUEUE_NAME = "demo10";

    public static final String EXCHANGE_NAME = "demo10-exchange";

    public static final String ROUTING_KEY = "demo10";

    private Integer id;

    public Demo10Message(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
